package com.lingchou.cloud.process.api.dto.result.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

/**
 * 流程履历节点
 */
@Setter
@Getter
@ToString
@Builder
@ApiModel(value = "ProcessTaskRecord",description = "履历节点")
public class ProcessTaskRecordVo {
    /**
     * 任务定义ID
     */
    @ApiModelProperty(value = "任务定义ID")
    private String taskDefId;

    /**
     * 任务名称或标题
     */
    @ApiModelProperty(value = "任务名称或标题")
    private String name;

    /**
     * 节点类型
     */
    @ApiModelProperty(value = "节点类型,值有 SINGLE；WITH_SIGN；OR_SIGN")
    private String nodeType;

    /**
     * 选人范围
     */
    @ApiModelProperty(value = "选人范围")
    private String selectionRange;

    /**
     * 节点状态
     */
    @ApiModelProperty(value = "节点状态")
    private String status;

    /**
     * 节点详情
     */
    @ApiModelProperty(value = "节点详情")
    private List<TaskRecordInfo> recordInfoList;
}
